/**
 * Created with IntelliJ IDEA.
 * User: wenxiwen
 * Date: 2022/4/8
 * Time: 11:09
 * Description: No Description
 */
 abstract class Cat {
    //public abstract String name;
    public String name;
     public  int age;

     //public final abstract void eat();
    public abstract void eat();

    public abstract void dog();
}

class test extends Animal{
     public String hair;

    @Override
    public void eat() {

    }

    @Override
    public void dog() {

    }

    @Override
    public void eat1() {

    }
}
abstract class  Animal extends Cat {
    public abstract void eat1();
}

public class TestDemo {
    public static void main(String[] args) {

    }
}